package com.wst.system.server.service;

import com.wst.system.server.entity.SysOpenApi;
import com.wst.system.server.entity.vo.PageSearchVo;
import com.wst.system.server.entity.vo.SysOpenApiVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wst.system.config.exception.GlobalExcetion;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author X.I.O
 * @since 2025-01-16
 */
public interface SysOpenApiService extends IService<SysOpenApi> {

    public SysOpenApi saveSysOpenApi(SysOpenApi sysopenapi) throws GlobalExcetion;

    public SysOpenApi updateSysOpenApiById(SysOpenApi sysopenapi) throws GlobalExcetion;

    public SysOpenApi saveOrUpdateSysOpenApi(SysOpenApiVo sysopenapiVo) throws GlobalExcetion;

    public IPage<SysOpenApi> page(PageSearchVo vo) throws GlobalExcetion;

    public List<SysOpenApi> getSysOpenApiListByApiIdList(List<String> ids) throws GlobalExcetion;
}